package com.seres.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * @author Tan-Bowen
 * @version 1.0
 * @description TODO
 * @date 2022/8/15 23:30
 */
@Component
@EnableAutoConfiguration
@Primary
@Data
public class ConfigureInfo {

    @Value("${spring.application.name}")
    private String applicationName;
}
